package com.tienon.message.Test;

import java.util.List;

import javax.annotation.Resource;

import org.junit.Test;

import com.tienon.message.entity.Push_App;
import com.tienon.message.mq.GetTenAppMsgsAndUpdateState;

public class GetTenAppMsgsAndUpdateStateTest extends UnitTestEnv{

	@Resource
	private GetTenAppMsgsAndUpdateState getMsg;
	@Test
	public void test(){
		
		List<Push_App> list = getMsg.getTenAppMsgsAndUpdateState();
		for(Push_App app : list){
			System.out.println(app.getBatId()+":"+app.getSerial()+":"+app.getMsg());
		}
		
	}
}
